package com.cxs.service.impl;

import com.cxs.mapper.DistrictMapper;
import com.cxs.model.District;
import com.cxs.service.DistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/*
 * @Author:cxs
 * @Date:2021/9/30  11:34
 * @Version 1.0
 * @Motto:放下杂念,只为迎接明天更好的自己
 * */
@Service
public class DistrictServiceImpl implements DistrictService {
    @Autowired
    private DistrictMapper districtMapper;

    @Override
    public List<District> list() {
        return districtMapper.selectByExample(null);
    }
}
